package com.linkus.chain.way2;

import com.linkus.chain.way2.MyHandler;
import com.linkus.chain.way2.base.HandleResult;
import lombok.NonNull;
import lombok.extern.slf4j.Slf4j;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

/**
 * 放入冰箱
 */
@Slf4j
@Order(3)
@Component
public class PushHandler implements MyHandler {
    @Override
    public @NonNull HandleResult<String> doHandle(String param) {
        log.info(" {} 放入冰箱!", param);
        return HandleResult.doNextResult();
    }
}
